export interface GoodsEntity {
    id: string
    title: string
    description: string
    details: string[]
    collectionId: string
    hasMultiSkus: boolean
    unit: string
    skus: SkuEntity[]
    preViews: PreViewEntity[]
    shows: string[]
    isShowStock: boolean
    creationTime: Date
}

export interface SkuEntity {
    id: string
    price: number
    costPrice: number
    stock: number
    specs: SpecEntity[]
}

export interface SpecEntity {
    specType: string
    specName: string
    specValue: string
}

export interface PreViewEntity {
    type: string
    name: string
    value: string
    images: string[]
}
